﻿
#include "Application.h"

int APIENTRY wWinMain(
    _In_ HINSTANCE hInstance,
    _In_opt_ HINSTANCE hPrevInstance,
    _In_ LPWSTR    lpCmdLine,
    _In_ int       nCmdShow)
{
    UNREFERENCED_PARAMETER(hPrevInstance);
    UNREFERENCED_PARAMETER(lpCmdLine);

    
    try
    {
        return Application{ hInstance , nCmdShow }.Run();
    }
    catch (const std::exception& e)
    {
        MessageBoxA(nullptr, e.what(), "提示", MB_OK);
    }
    return 0;
}